From: Giovanni Campagna Date: Wed, 27 Jun 2012 20:07:32 +0000 (+0200) Subject: WindowManager: ignore ctrl-alt-left/right X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6405 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c3d3d346d412acd8e9c6b93f0ba5277c6acf8bc4;p=gnome-shell.git WindowManager: ignore ctrl-alt-left/right Fixes a regression introduced in de72065a https://bugzilla.gnome.org/show_bug.cgi?id=679005 --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index dc79f32a5..d096c8399 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -588,6 +588,10 @@ const WindowManager = new Lang.Class({ let [action,,,direction] = binding.get_name().split('-'); let direction = Meta.MotionDirection[direction.toUpperCase()]; + if (direction != Meta.MotionDirection.UP && + direction != Meta.MotionDirection.DOWN) + return; + if (action == 'switch') this.actionMoveWorkspace(direction); else